#ifndef KUMUSHEDIT_H
#define KUMUSHEDIT_H

#include <QWidget>

#include "vkb.h"

QT_FORWARD_DECLARE_CLASS(QTextEdit)

class KumushEdit : public QWidget
{
    Q_OBJECT

public:
    explicit KumushEdit(QWidget *parent = 0);
    ~KumushEdit();
public slots:
    void VKBButtonClicked(QString value);
    void openButtonClicked();
    void saveButtonClicked();
    void copyButtonClicked();
    void pasteButtonClicked();
    void fwButtonClicked();
    void bwButtonClicked();
    void bspaceButtonClicked();

private:
    void createTextEdit();
    void createVKB();

private:
    QTextEdit *mTextEdit;
    QString fileName;
    VKB *mVKB;
};

#endif // KUMUSHEDIT_H
